NUA build lifecycle
Nua¶
- addons
- prep
- build
- install
- cleanup
Addons specifications:
addons:
apt:
sources:
- deadsnakes
- sourceline: 'ppa:ubuntu-toolchain-r/test'
- sourceline: 'deb https://packagecloud.io/chef/stable/ubuntu/precise main'
key_url: 'https://packagecloud.io/gpg.key'
[build.addons]
sources = [
"deadsnakes",
"ppa:ubuntu-toolchain-r/test",
{ source ="https://packagecloud.io/chef/stable/ubuntu/precise main". key_url = "https://packagecloud.io/gpg.key"},
]
packages = [
"gcc-4.8",
"foobar",
]
[run.addons]
# same format
RPM¶
- prep
- build
- install
Ref: https://janikvonrotz.ch/2019/03/20/the-final-rpm-packaging-guide/
Travis¶
Each job is a sequence of phases. The main phases are:
install
- install any dependencies requiredscript
- run the build script
Travis CI can run custom commands in the phases:
before_install
- before the install phasebefore_script
- before the script phaseafter_script
- after the script phase.
The complete sequence of phases of a job is the lifecycle. The steps are:
- OPTIONAL Install
apt addons
- OPTIONAL Install
cache components
before_install
install
before_script
script
Gentoo¶
The ebuild file format is in its basic form a subset of the format of a bash script.
Homebrew¶
https://docs.brew.sh/Formula-Cookbook
#toolchain
Page last modified: 2024-11-13 09:17:00